#include "stubs_asm.h"

// Corrections
//NHSTUB(GetSystemTime,           0xFF85BC6C)
// found in stubs_entry.S anyway 
//NHSTUB(kbd_read_keys_r2,        0xFF8426E0)
//NHSTUB(EnterToCompensationEVF,  0xFF825F48)
// seems to be a better fit and is found in stubs_entry.S anyway 
//NHSTUB(EnterToCompensationEVF,  0xFF825E94)

// Normal Stubs_entry_2.S
NHSTUB(StartCameraLog,          0xFF824470)
NHSTUB(PutInNdFilter,           0xFFA82744)
NHSTUB(PutOutNdFilter,          0xFFA8277C)
NHSTUB(CreateController,        0xFF872D0C)
NHSTUB(DebugAssert,             0xFF81BCF0)
NHSTUB(EventProcedure,          0xFF8694E8)
NHSTUB(GetAEIntegralServiceMode_0, 0xFF82ADB4)
NHSTUB(GetAEIntegralServiceMode_7, 0xFF962DF4)
NHSTUB(GetVRAMHPixelsSize_0,    0xFF85D1C4)
NHSTUB(GetVRAMHPixelsSize_1,    0xFF87AEE4)
NHSTUB(HardwareDefect,          0xFF8759A4)
NHSTUB(IsControlEventActive,    0xFF875378)
NHSTUB(IsFactoryMode,           0xFF84654C)
NHSTUB(KernelCreateTask,        0xFF81BAF0)
NHSTUB(PTM_GetCurrentItem,      0xFF87603C)
NHSTUB(PTM_SetCurrentCaptureMode, 0xFF875F14)
NHSTUB(PT_GetPropertyCaseString,  0xFF86D25C)
NHSTUB(PT_SetPropertyCaseString,  0xFF86D15C)
NHSTUB(PostLogicalEventForNotPowerType, 0xFF8734C8)
NHSTUB(PostLogicalEventToUI,    0xFF873514)
NHSTUB(RestartDevice,           0xFF829DF4)
NHSTUB(StartDiskboot,           0xFF829FB8)
NHSTUB(StartFactoryModeController, 0xFF8465BC)
NHSTUB(StartGUISystem,          0xFF894224)
NHSTUB(StartRecModeMenu,        0xFF94FE88)
NHSTUB(StartWDT,                0xFF86BF68)
NHSTUB(j_IsEvfDriveMode_16,     0xFF971138)
NHSTUB(j_PTM_GetWorkingCaptureMode, 0xFF87602C)
NHSTUB(j_PTM_SetCurrentItem,    0xFF876030)
NHSTUB(j_PTM_SetCurrentItem_0,  0xFF876034)
NHSTUB(taskcreate_AudioTsk,     0xFF842F88)
NHSTUB(taskcreate_AviWrite,     0xFF937EA8)
NHSTUB(taskcreate_Bye,          0xFF829CB8)
NHSTUB(taskcreate_ClockSave,    0xFF81516C)
NHSTUB(taskcreate_CaptSeqTask,     0xFF85E54C)
NHSTUB(taskcreate_InitFileModules, 0xFF879220)
NHSTUB(taskcreate_CommonDrivers,   0xFF87925C)
NHSTUB(taskcreate_DSITask,      0xFF880D10)
NHSTUB(taskcreate_FaceFrame,    0xFF880B40)
NHSTUB(taskcreate_LEDCon,       0xFF842054)
NHSTUB(taskcreate_PhySw,        0xFF821B10)
NHSTUB(taskcreate_StartupImage, 0xFF82A4FC)
NHSTUB(taskcreate_TempCheck,    0xFF820EBC)
NHSTUB(taskcreate_Thermometer,  0xFF84547C)
NHSTUB(taskcreate_WdtReset,     0xFF86BED0)
NHSTUB(UnsetZoomForMovie,       0xFF962C8C)

// New
//NHSTUB(LEDDrive,                0xFF8422B8)
NHSTUB(WriteSDCard,             0xFF922A68)
NHSTUB(DoAFLock,                0xFF825B98)
NHSTUB(UnlockAF,                0xFF825BDC)
NHSTUB(apex2us,                 0xFF9B19C0)

// Nullsubs
NHSTUB(taskLock,                0xFF810948)
NHSTUB(taskUnlock,              0xFF810948)
NHSTUB(Mount_FileSystem,        0xFF810948)
NHSTUB(Unmount_FileSystem,      0xFF810948)
NHSTUB(rewinddir,               0xFF810948)
NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810948)
NHSTUB(utime,                  0xFF810948)
//NHSTUB(nullsub_96,              0xFF810948)
//NHSTUB(nullsub_37,              0xFF810948)
//NHSTUB(nullsub_35,              0xFF810948)
//NHSTUB(unknown_libname_80,      0xFF810948)
//NHSTUB(unknown_libname_96,      0xFF810948)
//NHSTUB(j_unknown_libname_73,    0xFF810948)

NHSTUB(SetScriptMode,           0xFF875438) // "SetScriptMode"
NHSTUB(PB2Rec, 0xFF87871C)
NHSTUB(Rec2PB, 0xFF877120)
